package foo.bar;

import ba.la.MyAPI;
import com.fasterxml.jackson.core.JsonFactory;

/**
 * @author : dormi330
 * @since : 22/04/21
 */
public class Demo01 implements MyAPI {
    public void hello() {
        System.out.println("hello");
    }

    public void parse() {
        System.out.println("before parse");
        JsonFactory factory = new JsonFactory();
        // factory.getFormatGeneratorFeatures() 在 jackson-core 2.5.4中没有
        System.out.println("after parse" + factory.getFormatGeneratorFeatures());
    }
}
